package com.freework.report;

import com.freework.report.base.service.ReportBean;
import com.freework.report.base.service.ReportService;
import com.freework.report.base.service.exception.SuffixNameNotTypeException;
import com.freework.report.base.service.reportLoad.SpringBean;

public class Test {

	public static void main(String a[]) {
		String cfgpath="E:/workspace/freework/src/com/freework/report/";
		ReportService reportService=new ReportService(cfgpath,null);
		try {
			ReportBean bean=reportService.getReport("test_report.rgl");
		//	System.out.println(bean.getData(null));
		} catch (SuffixNameNotTypeException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
